# Description: MPEG-1 ve MPEG-2 video akışlarını çözmek için kullanılan kitaplık
# URL: http://mpg123.de/
# Packager: milisarge
# Depends on: 

name=libmpeg2
version=0.5.1
release=1

source=( http://$name.sourceforge.net/files/$name-$version.tar.gz)
build() {
cd $name-$version
sed -i 's/static const/static/' libmpeg2/idct_mmx.c
./configure --prefix=/usr --enable-shared
make
make DESTDIR=$PKG install
install -v -m755 -d $PKG/usr/share/doc/mpeg2dec-$version
install -v -m644 README doc/libmpeg2.txt \
$PKG/usr/share/doc/mpeg2dec-$version
}
